package com.example.goodog.customViews;

import android.content.Context;
import android.graphics.BitmapFactory;
import android.widget.ImageView;
import android.widget.RelativeLayout.LayoutParams;

public class DogImage extends ImageView {
	
	public DogImage(Context c, byte[] bitmap) {
		super(c);
		
		this.setImageBitmap(BitmapFactory.decodeByteArray(bitmap,0,bitmap.length));
		this.setLayoutParams(new LayoutParams(100, 100));

		this.setFocusable(false);
		
	}
}
